package com.prawn.ift.ctrlequipment.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.prawn.ift.ctrlequipment.pojo.CtrlequipmentChannel;

import java.util.List;

/**
 * 数据访问接口
 * @author Administrator
 *
 */
public interface CtrlequipmentChannelDao extends JpaRepository<CtrlequipmentChannel,String>,JpaSpecificationExecutor<CtrlequipmentChannel>{

    /**
     * 根据equipmentId查询CtrlequipmentChannel
     * @param equipmentId
     * @return
     */
    public List<CtrlequipmentChannel> findByEquipmentId(String equipmentId);

}
